package com.ganbo.dingding;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.scheduling.annotation.EnableScheduling;

@SpringBootApplication
@MapperScan("com.ganbo.dingding.mapper")
@EnableEurekaClient //该注解表明应用既作为eureka实例又为eureka client 可以发现注册的服务
@EnableScheduling
public class DingDingApplication {

    public static void main(String[] args) {
        SpringApplication.run(DingDingApplication.class, args);
    }
}
